package com.example.springboot.mapper;

import com.example.springboot.entity.Discussion;
import com.example.springboot.entity.DiscussionAndUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DiscussionMapper {
    List<DiscussionAndUser> getTree(Integer discussionType, Integer positionId);
    void addDiscussion(Discussion discussion);
}
